-- GENERATED SPELL FOR [Screeching Harpy] --


function spell0_4100(pUnit, Event) --@Deafening Screech,n/a--
pUnit:FullCastSpellOnTarget(3589,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4100', 8276, 1)
end

function Sorts_4100(pUnit, Event)
local choix_sorts_4100 = math.random(0, 0)
if choix_sorts_4100 == 0 then
pUnit:RegisterEvent('spell0_4100', 1, 1)
end
end

function mob4100_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4100', math.random(1500, 3000), 1)
end

function mob4100_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4100_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4100_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4100, 1, 'mob4100_Action')
RegisterUnitEvent(4100, 2, 'mob4100_Leave')
RegisterUnitEvent(4100, 3, 'mob4100_Kill')
RegisterUnitEvent(4100, 4, 'mob4100_Die')
